﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DTO;
using DAO;

namespace BUS
{
    public class NguyenVatLieuBUS
    {
        public List<NguyenVatLieu_SanPhamDTO> LayDanhSachNguyenVatLieu()
        {
            List<NguyenVatLieu_SanPhamDTO> ds_nvlDto = new List<NguyenVatLieu_SanPhamDTO>();
            try
            {
                NguyenVatLieuDAO nvlDao = new NguyenVatLieuDAO();
                ds_nvlDto = nvlDao.LayDanhSachNguyenVatLieu();

            }
            catch (Exception)
            {

                throw;
            }
            return ds_nvlDto;
        }
    }
}
